package com.billing.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.CrmLinkman;

public interface CrmLinkmanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CrmLinkman record);

    int insertSelective(CrmLinkman record);

    CrmLinkman selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CrmLinkman record);

    int updateByPrimaryKey(CrmLinkman record);
    
    List<CrmLinkman> selectByCustomerid(@Param("customerid")String customerid);
    
    int getNum(String customerid);
    
    List<CrmLinkman> getPage(@Param("customerid")String customerid,@Param("startRow")int startRow,@Param("pageSize")int pageSize);
}